AdThrive_Ads\Components\Ads\Main C

Total Complexity 109
Dependencies 2
Dependents 0
Total lines 613
Lines of code 412
Logical lines of code 213
Comment lines 120
Methods 29
Properties 0

Methods 29

Method Rating Maintainability Complexity Lines of code
ad_head()
C
38 25 61
body_class()
B
46 17 34
get_cls_file()
S
52 6 27
save_site_files()
S
50 5 28
parse_cls_deployment()
S
56 5 19
has_essential_site_ads_keys()
S
76 6 3
all_objects()
S
46 2 43
get_site_ads_config_query_param()
S
58 3 15
get_remote_site_ads()
S
58 3 14
insert_cls_file()
S
60 3 13
add_options()
S
47 1 43
get_site_js()
S
61 3 13
selectize_escape()
S
70 3 6
selectize_sanitize()
S
70 3 6
ajax_terms()
S
64 3 9
get_file_content()
S
67 2 8
get_term_selectize()
S
63 2 10
get_remote_file()
S
68 2 8
get_remote_cls_file_url()
S
68 2 7
get_remote_cls_hash()
S
77 2 3
get_site_ads_environment()
S
76 2 3
sanitize_checkbox()
S
79 2 3
check_cls_insertion()
S
67 1 8
init()
S
91 1 2
adthrive_preload()
S
75 1 5
get_site_id()
S
79 1 3
get_selectize()
S
72 1 6
pluck_name()
S
82 1 3
setup()
S
64 1 9